package com.lzw.breezeNovel.WebAdmin.mapper;


import com.lzw.breezeNovel.model.entity.pojo.novel.Chapter;
import org.apache.ibatis.annotations.Mapper;


@Mapper
@SuppressWarnings("all")
public interface ChapterMapper {

    /**
     * 根据id删除章节
     * @param id
     */
    void deleteById(Long id);

    /**
     * 根据id更新章节
     * @param chapter
     */
    void updateById(Chapter chapter);

    /**
     * 插入章节
     * @param chapter
     */
    void insert(Chapter chapter);
}
